using System;
using InfoJetSoft.Service.Util;

namespace InfoJetSoft.Service.Entity
{
	/// <summary>
	/// Summary description for DataDavAdapter.
	/// </summary>
	public class DataDavAdapter : DataWebAdapter, ICloneable
	{

		public static string Expression = "expression";
		public static string Literal = "literal";
	
		public string FolderURLValue 
		{
			get 
			{
				return folderURLValue;
			}
			
			set 
			{
				this.folderURLValue = value;
			}
		}

		public string FileNameValue 
		{
			get 
			{
				return fileNameValue;
			}
			
			set 
			{
				this.fileNameValue = value;
			}
		}

		public string FileNameValueType 
		{
			get 
			{
				return fileNameValueType;
			}
			
			set 
			{
				this.fileNameValueType = value;
			}
		}

		public string FileName
		{
			get 
			{
				return fileName;
			}
			
			set 
			{
				this.fileName = value;
			}
		}

		public bool OverwriteAllowed 
		{
			get 
			{
				return overwriteAllowed;
			}
			
			set 
			{
				this.overwriteAllowed = value;
			}
		}

		public QueryXslt QueryXslt 
		{
			get 
			{
				return queryXslt;
			}
			
			set 
			{
				this.queryXslt = value;
			}
		}

		public bool QueryAllowed
		{
			get
			{
				return this.queryAllowed;
			}
			set
			{
				this.queryAllowed = value;
			}
		}

		public bool SubmitAllowed
		{
			get
			{
				return this.submitAllowed;
			}
			set
			{
				this.submitAllowed = value;
			}
		}
	
		private string folderURLValue = null;
		private string fileNameValue = null;
		private string fileNameValueType = null;
		private string fileName = null;
		private bool overwriteAllowed = false;
		private QueryXslt queryXslt = null;
		private bool queryAllowed = false;
		private bool submitAllowed = false;

		public Object Clone()
		{
			return this.MemberwiseClone();
		}

	}
}
